const cookies = require('./cookies');
const goodsesApi = require('./goodses_api');

module.exports = function (storage, config) {
    let cookiesInstance = cookies(storage, config);
    return goodsesApi(storage, config, cookiesInstance);
};